#include<iostream>
using namespace std;
int main(){
  int a,b,n;
  cin>>a>>b;
  n=(a*10+b)/19;
  cout<<n;
}